/** 查询字典类型列表 */
export function listOptionselectApi(): Promise<ApiDataRecord<DictRecord[]>> {
  return request({
    url: '/system/dict/type/optionselect',
    method: 'get',
  })
}

/** 查询字典值列表 */
export function getDictsApi(dictType: string): Promise<ApiDataRecord<DictItemRecord[]>> {
  return request({
    url: `/system/dict/data/type/${dictType}`,
    method: 'get',
  })
}